﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.DataAdapter;

namespace Sealight.Core.Domain
{
   public class LocaleStringResourceEntity
    {
       public virtual Guid LocaleStringResourceID { get; set; }
       public virtual string ResourceName { get; set; }
       public virtual string ResourceValue { get; set; }
       public virtual LanguageEntity Language { get; set; }

       public virtual locale_string_resource ToDataAdapter()
       {
           locale_string_resource entity = new locale_string_resource
           {
               id = this.LocaleStringResourceID,
               resource_name = this.ResourceName,
               resource_value = this.ResourceValue
           };

           return entity;
       }
    }
}
